<template>
  <div id="root">
    <a v-bind:href="url">点我去百度</a>
    <a :href="img">搞笑图</a>
  </div>
</template>

<script>
export default {
  data() {
    return {
      url: "https://baidu.com",
      img: "https://cn.bing.com/images/search?view=detailV2&ccid=n5tJssoC&id=4FC6A0C05296062A9B4E80955AF63A947960075E&thid=OIP.n5tJssoC1c2OVs8sERq2fAHaIt&mediaurl=https%3a%2f%2fts1.cn.mm.bing.net%2fth%2fid%2fR-C.9f9b49b2ca02d5cd8e56cf2c111ab67c%3frik%3dXgdgeZQ69lqVgA%26riu%3dhttp%253a%252f%252fimg.name2012.com%252fuploads%252fallimg%252f2017-04%252f08-004230_727.jpg%26ehk%3dXJPm1QT0%252bhCdSGG9v8DvQDFftKT8B7nPKI0%252fpRVVGTQ%253d%26risl%3d%26pid%3dImgRaw%26r%3d0&exph=625&expw=531&q=%e6%90%9e%e7%ac%91%e5%9b%be%e7%89%87&simid=608027744536697912&FORM=IRPRST&ck=3560B24852A8837C0C0EBC2F7DD44B90&selectedIndex=0",
    };
  },
};
</script>

<style>
</style>